Hydrated magnesium sulfate that is taken orally to treat heartburn and constipation and injected to prevent seizures